#ifndef OBSERVER_H
#define OBSERVER_H


class IObserver{
public:
    virtual ~IObserver(){}
    virtual void Update(double price)=0;//更新价格
};
#endif // OBSERVER_H
